home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / login.postinst < prev    next >
Encoding:
Text File  |  2006-12-19  |  484 b   |  26 lines

  1. #!/bin/sh -e
  2.  
  3. if test "$1" = configure
  4. then
  5.     if test -f /etc/init.d/logoutd
  6.     then 
  7.         if test "$(md5sum /etc/init.d/logoutd)" = "9080f92783dd53f6f2108e698c06bd53  /etc/init.d/logoutd"
  8.         then    
  9.             echo "removing logoutd cruft"
  10.             rm /etc/init.d/logoutd
  11.             update-rc.d logoutd remove
  12.         fi
  13.     fi
  14. fi
  15. rm -f /etc/pam.d/login.pre-upgrade 2>/dev/null
  16.  
  17. if [ ! -f /var/log/faillog ] ; then
  18.     touch /var/log/faillog
  19.     chown root:root /var/log/faillog
  20.     chmod 644 /var/log/faillog
  21. fi
  22.  
  23.  
  24.  
  25. exit 0
  26.